package com.novasoftware.novagooglemap.framework.util;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

import com.novasoftware.novagooglemap.framework.activity.BaseActivity;

import android.app.Activity;
import android.content.Intent;

public class IoC {
	
	private static List<Activity> _listActivities = new ArrayList<Activity>();
	
	private IoC(){	}
	
	public static<T extends BaseActivity> Intent showActivity(Class<T> cls,Activity activity)
	{
		Intent intent = new Intent(activity,cls);
		activity.startActivity(intent);
		return intent;
	}
	
}
